package student.dto;

/**
 * @author yangdiankang@51tiangou.com
 * @date 2020/5/9.
 */
public class BookDto {

    private Integer id;

    /**
     * 书名
     */
    private String name;


    /**
     * 页数
     */
    private String num;

    /**
     * 学生ID
     */
    private Integer studentId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public BookDto(Integer id, String name, String num, Integer studentId) {
        this.id = id;
        this.name = name;
        this.num = num;
        this.studentId = studentId;
    }

    public BookDto() {
    }
}
